<?php


namespace Xiaoguai\DesignPattern\DP014\Colleague;


use Xiaoguai\DesignPattern\DP014\Colleague;

class Colleague2 extends Colleague
{

    public function receive()
    {
        echo __CLASS__ . '::' . __METHOD__;
    }

    public function send()
    {
        $this->mediator->relay($this);
    }
}